/* 默认情况下播放动画 */
.animate {
  animation-name: example;
  animation-duration: 4s;
  animation-play-state: running; 
}
/* 添加.pause类来暂停动画 */
.animate.pause {
  animation-play-state: paused; 
}

/* 添加.stop类来停止动画 */
.animate.stop {
  animation-name:none;
  opacity:1;
}